package com.ddwl.schema.bo.goods;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @Author hemiaojun
 * @Date 2020/10/19 15:48
 */
@Getter
@Setter
@ApiModel("签到规则bo")
public class SignConfigBo {

    @ApiModelProperty("id")
    private String id;

    @NotNull(message = "请输入星期几")
    @ApiModelProperty("星期几 星期一：Mon，星期二：Tue，星期三：Wed，星期四：Thu，星期五：Fri，星期六：Sat，星期日：Sun")
    private String dayOfWeek;

    @ApiModelProperty("奖励类型，0：津贴")
    private Integer rewardType;

    @ApiModelProperty("奖励金额")
    private BigDecimal rewardNum;

    @ApiModelProperty("补签奖励")
    private BigDecimal reissueReward;

    @ApiModelProperty("连续签到奖励")
    private BigDecimal continueReward;

    @ApiModelProperty("规则状态 0：开启，1：关闭")
    private Integer enable;

}
